package com.smartleanx.module.hrm.service.esign.eums;

import lombok.Getter;
import lombok.RequiredArgsConstructor;

/**
 * 任务状态枚举
 *
 * @author xzq
 * @since 2025/7/14
 */
@Getter
@RequiredArgsConstructor
public enum TaskStatusEnum {

    CREATE_ING(1, "创建中"),
    AWAIT_VIEW(2, "待查看"),
    AWAIT_FILL_IN_CORP(3, "待填写(企业)"),
    AWAIT_FILL_IN_PERSON(4, "待填写(员工)"),
    FILL_IN_ACC(5, "填写完成"),
    AWAIT_SIGN_CORP(6, "待签署(企业)"),
    AWAIT_SIGN_PERSON(7, "待签署(员工)"),
    REFUSE(8, "已拒绝"),
    REVOCATION(9, "已撤回"),
    EXPIRED(10, "已过期"),
    ACCOMPLISH(11, "已完成"),
    PERSON_FILL_IN(12, "员工已填写"),
    PERSON_SIGN(13, "员工已签署"),

    ;

    private final Integer code;
    private final String desc;
}
